package com.smitish.vueblog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smitish.vueblog.entity.Collection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smitish.vueblog.vo.CollectionBlogVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Smitish
 * @since 2020-12-03
 */
public interface CollectionService extends IService<Collection> {

    /**
     * 分页连表查询 文章的详细信息
     *
     * @param page 当前页码
     * @param id   用户ID
     * @return 返回多表的结果
     */
    Page<CollectionBlogVO> getCollectionBlog(Page<CollectionBlogVO> page, Long id, Long type);

}
